package com.ctshk.rpc.bus.dto.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 北落
 * @create 2021-04-28
 */
@Data
@ApiModel(value = "BusLineCacheDTO对象", description = "巴士路线缓存DTO")
public class BusLineCacheDTO implements Serializable {

    @ApiModelProperty(value = "路线id")
    private Long id;

    @ApiModelProperty(value = "车辆类型")
    private Integer vehicleType;

    @ApiModelProperty(value = "出发城市id")
    private Long departureCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "关口id")
    private Long gatewayId;

    @ApiModelProperty(value = "关口名称")
    private String gatewayName;

    @ApiModelProperty(value = "预计耗时")
    private LocalDateTime estimatedTime;

    @ApiModelProperty(value = "巴士产品列表")
    private List<BusProductCacheDTO> busProductList;
}
